package Vista;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;

public class ContenedorVentana {
	JFrame ventana = null;

	public ContenedorVentana(JFrame ventana)
	{
		this.ventana = ventana;
	}
	
	public ActionListener getListener()
	{
		return new ActionListener(){

			@Override
			public void actionPerformed(ActionEvent e) {
				ventana.setVisible(true);
			}
			
		};
	}

}